﻿#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include"LogExecuterIncludes/LogExecuter.h"
#include"SketchLayoutIncludes/SketchLayoutAlgo.h"
QT_BEGIN_NAMESPACE
namespace Ui {
class MainWindow;
}
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    LogExecuter* exec=nullptr;
    bool executerIsCreated();
    void initTableWidget();
    void addWarpper();
//工具栏action触发槽函数
private slots:
    void doOpenLogFile();
    void on_actionOpen_triggered();
    void on_actionExecute_triggered();//执行action
    void on_actionResetCur_triggered();
    void on_actionSet_triggered();
    void on_actionExit_triggered();
    void on_actionClear_triggered();
};
#endif // MAINWINDOW_H
